package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.UserFollow;
import com.atguigu.entity.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 翟文海
 * @Date: 2022/10/31/031 20:02
 * @Version: 1.0
 * @Description:
 **/
public interface UserFollowMapper extends BaseMapper<UserFollow> {
    UserFollow getByHouseIdAndUserId(@Param("userId") Long userId,@Param("houseId") Long houseId);

    Page<UserFollowVo> findListPage(Long id);
}
